 <?php
	require_once '../../../php/access.php';
	header ("Cache-Control: no-cache, must-revalidate");
	header("Expires: Mon, 29 Jul 2000 07:00:00 GMT");
	header ("Content-Type: application/smil");
	header('Content-Disposition: attachment; filename="today.smil"');
	$videoId = "4f7974399473990fe5000455";
	$hdUrl = getUrl($videoId,$hdFile);
	$lowUrl = getUrl($videoId,$lowFile);
?>
<smil  xmlns="http://www.w3.org/2001/SMIL20/Language">
    <body>
		<switch>
			<video src="<?php echo $hdUrl ?>" system-bitrate="128000"/> 
			<video src="<?php echo $lowUrl ?>" system-bitrate="56000"/> 
		</switch>
    </body>
</smil>
